package chap3;

public class TestIConstD implements IConstD,ExtendInter {
	
	public double getArea(double r){
		return PI*r*r;
	}
	
	public double getLn(double x){
		return Math.log(x) / Math.log(e);
	}
	
	public static void main(String arg[]){
		TestIConstD tic = new TestIConstD();
		System.out.println(tic.getArea(4.1));
		System.out.println(tic.getLn(4.1));
	}
}
